import threading

from rl_ppo_torque_filter.env import (EnvSimulinkToqueFilterClient,
                                      EnvSimulinkToqueFilterServer)

# class TestEnvSimulinkToqueFilter(object):
#     def setup_class(self):
#         print("Before class")
#         self.server = EnvSimulinkToqueFilterServer()
#         threading.Thread(target=self.server.run).start()
#         self.env_client = EnvSimulinkToqueFilterClient()
    
#     def teardown_class(self):
#         print("After class")
        
#     def test_render_png(self) -> None:
#         print("Test render png")
#         res = self.env_client.reset()
#         print(res)


if __name__ == "__main__":
    env_server = EnvSimulinkToqueFilterServer()
    env_server.run()